package com.atguigu.common.base.repository;

import com.atguigu.common.base.entity.AutoIdBase;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.util.List;
@NoRepositoryBean
public interface ParallelSaveRepository<T extends AutoIdBase, ID> extends JpaRepository<T, ID>, JpaSpecificationExecutor<T> {

    void parallelSave(List<T> entities);

}
